package player;

import powers.Power;
import Items.Weapons;
import abilities.Ability;
import character.Resistance;
import character.Size;
import character.Vision;

/**
 *for making player races
 * 
 * @author bjo013
 * 
 */
public class Race
{
	String race;
	Ability[] abilityScore = new Ability[2];
	Size size;
	int speed;
	Vision vision;
	Power[] racialPower;
	Resistance savingThrowAgainst = null;
	Weapons[] weaponProf;

	// AC Fort Ref Will
	int[] racialDefense = { 0, 0, 0, 0 };

	/**
	 * Constructor for race.
	 * 
	 * @param race
	 *            the name of the race.
	 */
	public Race(String race, Ability[] abilityScore, Size size, int speed, 
			Vision vision, Power[] racialPower, Resistance savingThrowAgainst,
			Weapons[] weaponProf, int[] racialDefense)
	{
		this.race = race;
		this.abilityScore = abilityScore;
		this.size = size;
		this.speed = speed;
		this.vision = vision;
		this.racialPower = racialPower;
		this.savingThrowAgainst = savingThrowAgainst;
		this.weaponProf = weaponProf;
		this.racialDefense = racialDefense;
	}

	

	public String getRace()
	{
		return race;
	}
}
